package com.example.bookstore.service.impl;

import com.example.bookstore.entity.Book;
import com.example.bookstore.mapper.BookMapper;
import com.example.bookstore.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookServicelmpl implements BookService {

    @Autowired
    BookMapper bookMapper;

    @Override
    public void Insert(Book book) {
        bookMapper.insert(book);
    }
}
